package cn.ht.jywrwater.module.ht.convert.villagemeter;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.villagemeter.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.villagemeter.VillageMeterDO;

/**
 * 水表村庄绑定关系 Convert
 *
 * @author hzx
 */
@Mapper
public interface VillageMeterConvert {

    VillageMeterConvert INSTANCE = Mappers.getMapper(VillageMeterConvert.class);

    VillageMeterDO convert(VillageMeterCreateReqVO bean);

    VillageMeterDO convert(VillageMeterUpdateReqVO bean);

    VillageMeterRespVO convert(VillageMeterDO bean);

    List<VillageMeterRespVO> convertList(List<VillageMeterDO> list);

    PageResult<VillageMeterRespVO> convertPage(PageResult<VillageMeterDO> page);

    List<VillageMeterExcelVO> convertList02(List<VillageMeterDO> list);

}
